﻿using MathNet.Numerics.LinearAlgebra.Double;

namespace Marvin.Categorization.NeuronalNetworks
{
    public class OutputLayer : ParameterGeneratingLayer
    {
        public OutputLayer(int numberOfNeurons, Layer previousLayer, Matrix parameters = null) : base(numberOfNeurons, previousLayer, parameters)
        {
        }

        public uint GetResult()
        {
            return (uint) Values.MaximumIndex();
        }
    }
}
